package server;


import java.util.UUID;

import common.Level;
import common.PlayerEvent;

public interface GameController extends GameTimerObserver {

	public static final int MAX_PLAYERS = 3;
	
	public abstract UpdateableGame getGame();
	
	public abstract Level getLevel();

	public abstract void clientAttached(UUID id, String playerName);
	
	public abstract void clientDetached(UUID id);

	public abstract void playerEvent(UUID id, PlayerEvent event);
	
	public abstract void setState(GameControllerState state);

	public abstract void stopTimer();

	public abstract void setTimer(long period);
	
}
